
package com.idealighter.game.roomcard.games.mustniuniu.message;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;

/**
 * 发牌 .
 *
 */
@ResMsg(ModuleMsgIdConstant.MustNiuNiu.RES_SHOW_CARD_CALL_BANKER_FIRST_DEAL_CARDS)
@Data
public class ResSccbFirstDealCardMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.MustNiuNiu.RES_SHOW_CARD_CALL_BANKER_FIRST_DEAL_CARDS;
  @Protobuf(order = 2)
  private List<FirstDealCardInfo> cardInfos;

  @Data
  public static class FirstDealCardInfo {
    @Protobuf(order = 1)
    private int order;
    @Protobuf(order = 2)
    private long playerId;
    // 玩家的牌(如果是暗枪庄家,非自己的牌为空的)
    @Protobuf(fieldType = FieldType.INT32, order = 3)
    private List<Integer> cards = new ArrayList<>();
  }
}
